<template>
 
  <div id="app"> 
    <div class="header-nav">
      <ul>
        <li>热点</li>
        <li>头条</li>
        <li>娱乐</li>
        <li>体育</li>
        <li>科教</li>
        <li>星座</li>
        <li>汽车</li>
      </ul>
      </div>  <div id="nav">
  <router-link to="/">新闻</router-link>
  <router-link to="/video">视频</router-link>
  <router-link to="/me">我的</router-link>
    </div>
    <router-view/>
  </div>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
  justify-content: space-between;
  margin:0px  ;
  left: 0;
  right: 0;

}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
